import { createApp } from "vue";
import App from "./App.vue";
// 1、引入vant组件库
import { Button, Tabbar, TabbarItem,Swipe, SwipeItem,Search,Grid, GridItem   } from "vant";
// 2、引入vant样式表
import "vant/lib/index.css";
// 引入路由
import router from "@/route/index";

const app = createApp(App);

// 3、注册vant组件
app.use(Button);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Swipe);
app.use(Search);
app.use(Grid);
app.use(GridItem);
app.use(SwipeItem);
app.use(router);
app.mount("#app");
